package com.server.rule.component.triple.operator;

import com.shared.rule.TypeOperator;

public class NominalOperatorNonEqual extends NominalOperator{

	@Override
	public boolean compare(String element1, String element2) {
		return !element1.equals(element2);
	}
	
	//@Override
	public boolean equals(Operator o) {
		return (o instanceof NominalOperatorNonEqual);
	}
	
	@Override
	public String toString() {
		return TypeOperator.NOMINAL_NON_EQUAL.toString();
	}
	
	public String getHumanReadable() {
		return "<>";
	}
}
